<!DOCTYPE html>
<html lang="en">
  <script>
    if(!localStorage.getItem("token")) location.href = "/login.html"
  </script>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/css/index.css">
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
      <div class="layui-header">
        <div class="layui-logo"></div>

        <ul class="layui-nav layui-layout-right">
          <li class="layui-nav-item">
            <a href="javascript:;">
                <span class="photo photo2">E</span>
              <img src="" alt="" class="layui-nav-img welcome user-pic">
              个人中心
            </a>
            <dl class="layui-nav-child">
              <dd><a href="">基本资料</a></dd>
              <dd><a href="">更换头像</a></dd>
              <dd><a href="">重置密码</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item"><a class="logout" href="javascript:;"><i class="layui-icon layui-icon-logout"></i>退出</a></li>
        </ul>
      </div>
      
      <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
          <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
          <ul class="layui-nav layui-nav-tree"  lay-filter="test" lay-shrink="all">
              <li class="photo-father">
                <span class="photo ">E</span><img src="" alt="" class="layui-nav-img user-pic"><span class="welcome  username">欢迎你 xxx</span>
              </li>
              
            <li class="layui-nav-item">
                <a href="/home/dashboard.html" target="content"><i class="layui-icon layui-icon-home"></i>   首页</a></li>

            <li class="layui-nav-item layui-nav-itemed" >
              <a class="" href="javascript:;"><i class="layui-icon layui-icon-tabs"></i>   文章管理</a>
              <dl class="layui-nav-child">
                <dd><a href="javascript:;"><i class="layui-icon layui-icon-windows"></i>   列表一</a></dd>
                <dd><a href="javascript:;"><i class="layui-icon layui-icon-windows"></i>   列表二</a></dd>
                <dd><a href="javascript:;"><i class="layui-icon layui-icon-windows"></i>   列表三</a></dd>
                <dd><a href=""><i class="layui-icon layui-icon-windows"></i>   超链接</a></dd>
              </dl>
            </li>
            <li class="layui-nav-item" >
              <a href="javascript:;"><i class="layui-icon layui-icon-username"></i>   个人中心</a>
              <dl class="layui-nav-child">
                <dd><a href="/user/userinfo.html" target="content"><i class="layui-icon layui-icon-windows"></i>   基本资料</a></dd>
                <dd><a href="/user/repwd.html" target="content"><i class="layui-icon layui-icon-windows"></i>   重置密码</a></dd>
                <dd><a href="/user/repic.html" target="content"><i class="layui-icon layui-icon-windows"></i>   更换头像</a></dd>
              </dl>
            </li>
          </ul>
        </div>
      </div>
      
      <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;" id="iframe">
            <iframe src="/home/dashboard.html" name="content" frameborder="0" style="width: 100%;height: 100%;"></iframe>
        </div>
      </div>
      
      <div class="layui-footer">
        <!-- 底部固定区域 -->
        © bigEvent.com - 大事件后台主页
      </div>
    </div>
    <!-- <script>
    //JavaScript代码区域
    layui.use('element', function(){
      var element = layui.element;
      
    });
    </script> -->
    </body>
<script src="/assets/lib/jquery.js"></script>
<script src="/assets/js/common.js"></script>
<script src="/assets/js/index.js"></script>
<script src="/assets/lib/layui/layui.all.js"></script>

</html>